home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / gfx / show / gs_src_amiga.readme < prev    next >
Encoding:
Text File  |  1997-05-03  |  3.9 KB  |  92 lines

  1. Short:    Ghostscript4.03 Amiga sources,  bugfix 2
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel)/Port(me)
  3. Uploader: JoopvandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5. Requires: gs403data.lha/gs403src_gs.lha/gs403src_jpg6a.lha
  6.  
  7. This is the Amiga port of Ghostscript4.03 containing the Amiga specific
  8. sources, if you want to recompile GS then you'll have to get
  9. 'gs403src_gs.lha' and 'gs403src_jpg6a.lha' too. For more details see below. 
  10.  
  11. Fix 1: -sDEVICE=amiga_custom shouldn't crash anymore
  12. Fix 2: opening of scratch files improved (hopefully failsave now)
  13.  
  14. Comments/Suggestions/Bugs to:
  15. JoopvandeWege@mail.mococo.nl
  16. Please use a Subject field with the name 'GS403' in it.
  17. Please direct all mail to me except when you're 100% sure it is a GS
  18. problem then you can use the Aladdin email address.
  19.  
  20. Please be sure to read the Amiga section in Use.txt for details (can be
  21. found in the directory 'doc').
  22.  
  23. Joop van de Wege
  24.  
  25.  
  26. Recompiling GS:
  27. Steps needed to be done to recompile GS from scratch using GCC2.63/2.70:
  28. Get gs403src_gs.lha
  29. Get gs403src_amiga.lha
  30. Get gs403src_jpg6a.lha
  31. Get gs403src_zlib.lha
  32. Get gs403src_png.lha
  33.  
  34. Unpack gs403src to HD, a directory 'gs4.03' will be created.
  35. Unpack to the same HD (files will also be placed into 'gs4.03':
  36. - gs403amiga.lha, overwriting some files. This is OK
  37.   gs403amiga.lha contains:
  38.   - gdevamiga.c, the amiga device driver from Olaf Barthel
  39.   - gdevpipe.c, patched for use with Libnix
  40.   - gp_amiga.c, platform dependant stuff for the Amiga
  41.   - Configure.in/Makefile.in to rebuild Makefile and be able
  42.     to separate source and build directory.
  43. - gs403src_jpg6a which creates the 'jpeg-6' directory
  44. - gs403src_zlib which creates the 'zlib' directory
  45. - gs403src_png which creates the 'libpng' directory
  46. - edit gcc-head.mak.in, the lines DEVICES_DEVSx= .....
  47.   (add/remove devices to your desire), save!
  48. - cd to your build directory (cd work:build/gs)
  49. - sh work:source/gs4.03/configure --prefix=Ghostscript:
  50.   (configure tests your configuration, generates Makefile)
  51. - make
  52. - make install
  53.  
  54. The last two archives are not needed when you don't intend to rebuild GS
  55. with PNG support.
  56.  
  57. If you haven't forgotten to set the stack to a reasonable amount (~50K),
  58. you can sit back and have a cup of coffee. On my A3000 it takes about 2.5h
  59. (1-1.5h when using PowerCache) to compile with the current device driver
  60. set and the file 'gdevamiga.c' needs about 7-8Mb when -O2 is on. It needs
  61. less if you don't optimize :)
  62. Make itself takes another 2Mb so in case of problems just compile
  63. gdevamiga.c on its own and let make resume after that. GCC2.7.2.1 (?) (Aminet)
  64. works with VMM3.3 (on Aminet too).
  65.  
  66.  
  67. ============================= Archive contents =============================
  68.  
  69. Original  Packed Ratio    Date     Time    Name
  70. -------- ------- ----- --------- --------  -------------
  71.    39194   11534 70.5% 12-Apr-97 10:08:48 +configure
  72.      716     390 45.5% 16-Mar-97 12:22:20 +configure.in
  73.    47807   13919 70.8% 16-Mar-97 12:22:22 +devs.mak.in
  74.    10035    4035 59.7% 12-Apr-97 22:52:28 +gcc-head.mak.in
  75.   115067   28666 75.0% 02-Apr-97 20:22:18 +gdevamiga.c
  76.     2854    1137 60.1% 16-Mar-97 12:22:26 +gdevpipe.c
  77.    13463    4803 64.3% 16-Mar-97 12:22:28 +gs.mak.in
  78.     4772    1858 61.0% 16-Mar-97 12:22:32 +install-sh
  79.    43816   11254 74.3% 16-Mar-97 12:22:34 +int.mak.in
  80.    10861    3308 69.5% 16-Mar-97 12:22:36 +jpeg.mak.in
  81.    33308    8134 75.5% 16-Mar-97 12:22:38 +lib.mak.in
  82.     3541    1396 60.5% 16-Mar-97 12:22:38 +libpng.mak.in
  83.     1691     615 63.6% 16-Mar-97 12:22:40 +tar_cat.in
  84.     6113    2498 59.1% 12-Apr-97 22:48:16 +unix-end.mak.in
  85.     2015    1086 46.1% 16-Mar-97 12:22:42 +unixhead.mak.in
  86.     5097    2018 60.4% 16-Mar-97 12:22:44 +unixtail.mak.in
  87.    48230   17806 63.0% 02-Apr-97 20:03:30 +use.txt
  88.     3278    1267 61.3% 16-Mar-97 12:22:44 +zlib.mak.in
  89.    22282    7448 66.5% 22-Apr-97 22:19:46 +gp_amiga.c
  90. -------- ------- ----- --------- --------
  91.   414140  123172 70.2% 24-Apr-97 16:02:52   19 files
  92.